export  type header = {
  headers: {
    [things:string]:any
  }
}
/*监听文件上传*/
export type progressEvent = {
loaded:number,
total:number
}
/**请求默认头*/
export type startHeader = {
url?: string;
method?: 'get' | 'post' | 'put' | 'delete';
baseURL?: string;
headers?: {[things:string]:any};
params?: any;
paramsSerializer?: (params: any) => string;
data?: any;
timeout?: number;
timeoutErrorMessage?: string;
withCredentials?: boolean;
responseType?: 'json' | 'blob';
onUploadProgress?: (progressEvent: any) => void;
onDownloadProgress?: (progressEvent: any) => void;
maxContentLength?: number;
validateStatus?: ((status: number) => boolean) | null;
maxBodyLength?: number;
maxRedirects?: number;
socketPath?: string | null;
httpAgent?: any;
httpsAgent?: any;
cancelToken?: any;
decompress?: boolean;
}